package hot.job.core.meta;

import lombok.*;
import org.quartz.Job;
import java.io.Serializable;
import java.util.Map;

/**
 * meta info to describe a job instance
 *
 * @author gaowenhao
 * @since 2022/7/5 16:11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class JobMeta implements Serializable {

    private static final long serialVersionUID = 7023762725208192850L;

    private String name;

    private String group;

    private Boolean hot;

    private String cron;

    private Class<? extends Job> jobClass;

    private Map<String, Object> params;

}
